home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / inventor / sharedSV / Makefile < prev    next >
Encoding:
Makefile  |  1994-08-02  |  1.3 KB  |  44 lines

  1. #!smake
  2.  
  3. # Makefile for SceneViewer
  4.  
  5. include /usr/include/make/commondefs
  6.  
  7. # :++:  here, as in 
  8. #          src/exampleCode/games/IndiZone/sw
  9. #          src/demos/audio/drive
  10. #       we have had to resort to building Inventor things with the eoe 
  11. #       and dev versions of Inventor 1.1.2 since these programs were not
  12. #       able to be ported over to Open Inventor 2.0 in time for v4.1 of 
  13. #       the toolbox.  
  14. #
  15. #       please refer to the README.Inventor at the top-of-tree for more 
  16. #       information about what one will have to do if one is likewise 
  17. #       trying to compile Inventor programs on 5.2 IRIX which have not 
  18. #       been ported to Inventor 2.0.  
  19. #
  20. #       (i.e., note use of $(MYROOT) below)
  21. #
  22.  
  23. C++FILES= SceneViewer.c++ SoSceneViewer.c++ SvManipList.c++
  24. HFILES  = SoSceneViewer.h SoSceneMenu.h SvManipList.h multicast.h Common.h
  25.  
  26. TARGETS = SharedSV
  27.  
  28. # The following 2 lines were added to build w/Inventor 1.1.2 compatibility :++:
  29. LLDOPTS = -L$(MYROOT)/usr/lib
  30. LC++INCS= -I. -I$(MYROOT)/usr/include
  31. LLDLIBS = -lInventorXt -lInventor \
  32.     -lSgm -lXm -lPW -lXt -lgutil -lfm -limage -lgl \
  33.     -lX11 -lm -lC -lmalloc
  34.  
  35. LC++OPTS = +p +w -Wf,-XNd8000 -Wf,-XNp10000 -Wf,-XNk10000
  36. LC++DEFS = -DFUNCPROTO
  37.  
  38. default all: ${TARGETS}
  39.  
  40. include ${COMMONRULES}
  41.  
  42. ${TARGETS}: ${OBJECTS}
  43.     ${C++F} -o $@ ${OBJECTS} ${LDFLAGS}
  44.